package com.arpa.ntocc.common.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 广告表
 * </p>
 *
 * @author LEO
 * @since 2019-12-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("sys_banner")
@ApiModel(value="Banner对象", description="广告表")
public class Banner extends BasicEntity {

    private static final long serialVersionUID = 1L;

    @TableField("code")
    private String code;

    @ApiModelProperty(value = "公司编码")
    @TableField("branch_code")
    private String branchCode;

    @ApiModelProperty(value = "标题")
    @TableField("title")
    private String title;
    @ApiModelProperty(value = "内容")
    @TableField("content")
    private String content;

    @ApiModelProperty(value = "图片路径")
    @TableField("img")
    private String img;

    @ApiModelProperty(value = "banner类型(driver:司机,shippment:入驻商,gateway_main:门户_首页,gateway_track:门户_货物跟踪)")
    @TableField("type")
    private String type;

    @ApiModelProperty(value = "【未维护】超链地址")
    @TableField("url")
    private String url;

    @ApiModelProperty(value = "【未维护】状态(0：广告，1：合作伙伴)")
    @TableField("status")
    private Integer status;


}
